package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("user_product_collect")
public class UserProductCollectDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 用户id */
    @TableField("user_id")
    private Long userId;
    /** 商品id */
    @TableField("product_id")
    private Long productId;
    /** 名称 */
    @TableField("title")
    private String title;
    /** 封面 */
    @TableField("picture")
    private String picture;
    /** 商品类型 1书籍  2周边 */
    @TableField("product_type")
    private Integer productType;
}
